package com.campus.common.vo;

import java.io.Serializable;
import java.sql.Timestamp;

public class BankTransaction implements Serializable {
    private int id;
    private String userId;
    private String type;
    private double amount;
    private Timestamp createTime;

    public BankTransaction() {}

    public BankTransaction(String userId, String type, double amount) {
        this.userId = userId;
        this.type = type;
        this.amount = amount;
    }

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
    
}

